package com.dx.service;


import com.dx.entity.bo.Employee;
import com.dx.entity.dto.EmployeeDto;
import com.dx.entity.dto.EmployeeQueryDto;
import com.dx.entity.dto.LoginDto;
import com.dx.entity.vo.EmployeeVo;
import com.dx.result.PageResult;

public interface EmployeeService  {
    public String login(LoginDto loginDto) ;


    /**
     * 新增员工业务方法
     * @param employeeDto
     * @return
     */
    EmployeeDto save(EmployeeDto employeeDto);


    //option cmd+b快速进入实现类
    PageResult<?> pageQuery(EmployeeQueryDto employeeQueryDto);


    boolean updateStatus(Long id, int status);
    //自设快捷键 ctrl + tab快速实现方法

    Employee getByEmail(String email);

}
